package com.ilearn.strategy.payport;

public class PayState<T> {

    private int code;
    private String msg;
    private T data;

    public PayState(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    @Override
    public String toString() {
        return  "支付状态:[code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                ']';
    }
}
